﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace SmoLiteApi
{
    /// <summary/>
    public class DataType
    {
        private SqlDbType _sqlDbType;
        private int _maximumLength;
        private int _numericScale;
        private int _numericPrecision;
        private bool _isMax;

        /// <summary/>
        public SqlDbType SqlDbType
        {
            get { return this._sqlDbType; }
            set { this._sqlDbType = value; }
        }

        /// <summary/>
        public bool IsMax
        {
            get { return this._isMax; }
            set { this._isMax = value; }
        }

        /// <summary/>
        public int MaximumLength
        {
            get { return this._maximumLength; }
            set { this._maximumLength = value; }
        }

        /// <summary/>
        public int NumericScale
        {
            get { return this._numericScale; }
            set { this._numericScale = value; }
        }

        /// <summary/>
        public int NumericPrecision
        {
            get { return this._numericPrecision; }
            set { this._numericPrecision = value; }
        }
    }
}
